//
//  QXBannerAdView.h
//  iAccountBook
//
//  Created by 侯伟 on 2021/9/5.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class QXBannerAdView;
@protocol QXBannerViewDelegate <NSObject>

@optional

- (void)QXBannerAdDidLoaded:(QXBannerAdView *)bannerAdView;

- (void)QXBannerAdLoadFaild:(QXBannerAdView *)bannerAdView;

- (void)QXBannerAdDidDisplay:(QXBannerAdView *)bannerAdView;

- (void)QXBannerAdDidClosed:(QXBannerAdView *)bannerAdView;

- (void)QXBannerAdDidClick:(QXBannerAdView *)bannerAdView;

@end

@class QXAdvert;
@interface QXBannerAdView : UIView

@property (nonatomic,weak)id<QXBannerViewDelegate> delegate;

- (void)loadAdData;
@end

NS_ASSUME_NONNULL_END
